how to debug c and c code